package com.ruoyi.system.service;

import java.util.List;
import com.ruoyi.system.domain.RefundOrder;
import com.ruoyi.system.domain.vo.RefundOrderVo;

/**
 * 退货单Service接口
 * 
 * @author ruoyi
 * @date 2025-02-17
 */
public interface IRefundOrderService 
{
    /**
     * 查询退货单
     * 
     * @param id 退货单主键
     * @return 退货单
     */
    public RefundOrder selectRefundOrderById(Long id);

    /**
     * 查询退货单列表
     * 
     * @param refundOrder 退货单
     * @return 退货单集合
     */
    public List<RefundOrderVo> selectRefundOrderList(RefundOrder refundOrder);

    /**
     * 新增退货单
     * 
     * @param refundOrder 退货单
     * @return 结果
     */
    public int insertRefundOrder(RefundOrder refundOrder);

    /**
     * 修改退货单
     * 
     * @param refundOrder 退货单
     * @return 结果
     */
    public int updateRefundOrder(RefundOrder refundOrder);

    /**
     * 批量删除退货单
     * 
     * @param ids 需要删除的退货单主键集合
     * @return 结果
     */
    public int deleteRefundOrderByIds(Long[] ids);

    /**
     * 删除退货单信息
     * 
     * @param id 退货单主键
     * @return 结果
     */
    public int deleteRefundOrderById(Long id);
}
